package com.atguigu.srb.sms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: Doream
 * @Date: 2022/2/3 12:01
 */

@SpringBootApplication
// 扫描所有的com.atguigu.srb下的容器
@ComponentScan({"com.atguigu.srb", "com.atguigu.common"})
@EnableDiscoveryClient
@EnableFeignClients // 消费者调用服务
public class ServiceSmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceSmsApplication.class, args);
    }
}
